package com.tang.component.es;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;


/**
 * Es配置信息
 *
 * @author Tang
 * @date 2024/2/22 19:39
 **/
@ConfigurationProperties(prefix = "es.info")
public class EsConfigurationProperties {
    private List<EsClusterInfo> nodeInfoList;

    public List<EsClusterInfo> getNodeInfoList() {
        return nodeInfoList;
    }

    public void setNodeInfoList(List<EsClusterInfo> nodeInfoList) {
        this.nodeInfoList = nodeInfoList;
    }
}
